package com.example.personalfoodadmin.activities;

public class UserProfile extends DatabaseObject
{
    /**
     * @author Lars Loser
     * 
     *         This class represents a user profil
     */

    // Attributes (id included)

    private String prename;

    private String surname;

    private String sex;

    private String date;

    private float bodyHeight; // in centimeter

    private float bodyWeight; // in kilograms

    private float bmi;

    private String activityType;

    private String dietType;

    private int neededCalories;

    // Constructor
    public UserProfile(String prename, String surname, String sex, String date, float bodyHeight, float bodyWeight, String activityType, String dietType, float bmi, int calories)
    {
        super();

        this.prename = prename;
        
        this.surname = surname;
        
        this.sex = sex;
        
        this.date = date;
        
        this.bodyHeight = bodyHeight;
        
        this.bodyWeight = bodyWeight;
        
        this.activityType = activityType;
        
        this.dietType = dietType;
        
        this.bmi = bmi;
        
        this.neededCalories = calories;
    }

    public UserProfile()
    {

    }

    public int getNeededCalories()
    {
        return neededCalories;
    }

    public void setNeededCalories(int neededCalories)
    {
        this.neededCalories = neededCalories;
    }

    public String getSex()
    {
        return sex;
    }

    public void setSex(String sex)
    {
        this.sex = sex;
    }

    // Getters and Setters
    public String getPrename()
    {
        return prename;
    }

    public void setPrename(String prename)
    {
        this.prename = prename;
    }

    public String getSurname()
    {
        return surname;
    }

    public void setSurname(String surname)
    {
        this.surname = surname;
    }

    public String getDate()
    {
        return date;
    }

    public void setDate(String date)
    {
        this.date = date;
    }

    public float getBodyHeight()
    {
        return bodyHeight;
    }

    public void setBodyHeight(float bodyHeight)
    {
        this.bodyHeight = bodyHeight;
    }

    public float getBodyWeight()
    {
        return bodyWeight;
    }

    public void setBodyWeight(float bodyWeight)
    {
        this.bodyWeight = bodyWeight;
    }

    public String getActivityType()
    {
        return activityType;
    }

    public void setActivityType(String activityType)
    {
        this.activityType = activityType;
    }

    public String getDietType()
    {
        return dietType;
    }

    public void setDietType(String dietType)
    {
        this.dietType = dietType;
    }

    public float getBmi()
    {
        return bmi;
    }

    public void setBmi(float bmi)
    {
        this.bmi = bmi;
    }

}
